package com.guigu.gulicommon.entity.pojo;

import com.guigu.gulicommon.constant.enumes.ware.LockStatus;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 库存工作单详情
 *
 * @author 陈俊杰
 * @version 1.0
 * @since 2024/10/6 14:39
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class StockDetailPoJo {
    /**
     * id
     */
    private Long id;

    /**
     * sku_id
     */
    private Long skuId;

    /**
     * sku_name
     */
    private String skuName;

    /**
     * 购买个数
     */
    private Integer skuNum;

    /**
     * 工作单id
     */
    private Long taskId;
    /**
     * 仓库id
     */
    private Long wareId;

    /**
     * 1-已锁定  2-已解锁  3-已扣减
     *
     * @see LockStatus#getName()
     */
    private LockStatus lockStatus;
}
